package lab01;

import java.util.Scanner;
public class Test09 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入行数：");
        int x=sc.nextInt();
        int n=0;

        for(int i=1;i<=x;i++){
            for(int j=1;j<=i;j++){
                n=i*j;
                System.out.print(+i+"*"+j+"="+n+"\t");
            }
            System.out.println();

        }
    }
}

